package ru.amse.ilyin.analyzer;

import java.util.Set;

/**
 * Class or interface.
 * 
 * @author Alexander Ilyin
 */
public interface Entity {
	/**
	 * Returns a name of this <code>Entity</code>.
	 * 
	 * @return name
	 */
	String getName();
	
	/**
	 * Returns superinterfaces of this <code>Entity</code>.
	 * 
	 * @return superinterfaces
	 * @throws AnalyzerException if an analyze error occurs
	 */
	Set<Interface> getSuperinterfaces() throws AnalyzerException;
}
